const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  userCode: state => state.user.userCode,
  addRouters: state => state.permission.addRouters,
  routers: state => state.permission.routers,
  userName: state => state.user.userName,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,

}
export default getters

